some() and every() javascript